package medical.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import medical.demo.service.THisRegistrationService;

import javax.annotation.Resource;

@RestController
public class THisRegistrationController {

    @Resource
    private THisRegistrationService tHisRegistrationService;

    @GetMapping("/GetAllTHisRegistration/data")
    public Object GetAllTHisRegistration() {
        return tHisRegistrationService.GetAllTHisRegistration();
    }
}
